package org.ala.test_feign_server.feign;

import java.util.ArrayList;
import java.util.List;

import org.ala.rpc_test.test_biz.OrderDO;
import org.ala.rpc_test.test_biz.OrderItemDO;
import org.ala.test_feign.feign.IOrderInterface;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *	@author ala
 *	@date 2025年5月2日
 */
@RestController
public class OrderService implements IOrderInterface {

	
	public List<OrderItemDO> items(OrderDO order) {
		List<OrderItemDO> items = new ArrayList<>();
		items.add(OrderItemDO.build().id(1l).orderId(order.getId()));
		return items;
	}
}
